class CommonTs {
  /**
   * name
   */
  public splitChange(str: string) {
    let value = [];
    const number = str || "0";

    if (number.indexOf("#") > 0) {
      value = number.split("#");
    } else {
      value.push(number);
      value.push("");
    }

    return value;
  }
}

const commonTs = new CommonTs();

export default commonTs;
